﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FtpServerAdministrator;
using System.IO;
namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            IFtpServerConfigruation config =
                new FileZillaConfiguration("C:\\Program Files\\FileZilla Server\\FileZilla Server.xml");
            config.AddUser(new FtpUser()
            {
                Directory = new DirectoryInfo("D:"),
                UserName = "test",
                Password = "test",
                Permissions = FtpPermissions.AllowAll
            });


        }
    }
}
